package com.dyh.dao;

import com.dyh.pojo.Link;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LinkDao {

    int addLink(Link link);
    int deleteLink(int id);
    int updateLink(Link link);
    List<Link> queryLinkList();
    Link queryLinkById(int id);

}
